<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form class="form" method="get">
{#    {% csrf_token %}#}
    {% for field in form %}
        {{ field.label_tag }}
        {{ field }}
        {{ field.errors }}
        {% if field.help_text %}
            <p class="help text-small text-muted">{{ field.help_text|safe }}</p>
        {% endif %}
    {% endfor %}
    <button type="submit" class="btn btn-primary btn-block">提交</button>
</form>

{#<form method='get'>#}
{#{% csrf_token %}#}
{##}
{#{{ form }}#}
{#<input type="submit" value="提交">#}
{#</form>#}
</body>
</html>

</body>
</html>